package com.yxym.homework03;

public class TestEmployee {
    public static void main(String[] args) {
        Staff staff = new Staff("小红",300.0,25,1.0);
        staff.printSalary();
        Manager manager = new Manager("王",500.0,20,1.2);
        manager.setBonus(3000.0);//添加bonus数值
        manager.printSalary();
    }
}
